package com.gmgx.hrms.dao;

import com.gmgx.hrms.entity.OL;

import java.util.List;

public interface OLDao {
    boolean  queryOLByEmpidAndTimeRangeForLeave(OL ol);

    boolean addOLForLeave(OL ol);


    List<OL> queryOLByEmpidForLeave(int empid);

    List<OL> queryOLByDeptIdForLeave(int deptid);

    boolean updateOLByOLidForLeave(int olid,String status);
}
